<!DOCTYPE html>
<html>
<head>
    <title>Video.js | HTML5 Video Player</title>

    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
    <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <link href="__PUBLIC__/lib/video-js/video-js.css" rel="stylesheet">
    <script src="__PUBLIC__/lib/video-js/video.js"></script>
    <script src="__PUBLIC__/lib/video-js/videojs-contrib-hls.min.js"></script>
    <script>
        videojs.options.flash.swf = "__PUBLIC__/lib/video-js/video-js.swf"
    </script>
</head>
<body>
<center>
    <video id="live-stream" class="video-js vjs-default-skin vjs-big-play-centered"
           controls autoplay preload="auto"
           poster="__PUBLIC__/Common/static/images/videodemo.png"
           data-setup='{"example_option":true}'>
        <source src="http://amaitest.oss-cn-hangzhou.aliyuncs.com/record/live123/4001481527315.m3u8" type="application/x-mpegURL">
    </video>
</center>

<script>
    $(function(){
        var player = videojs('live-stream');
        player.hls('http://odqow12di.bkt.clouddn.com/5468594435904192512_360p_v1.m3u8?v=10003"');
        alert('11111111111111');
    });

</script>

</body>
</html>

